package com.vivo.customer.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DecorateUnitExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DecorateUnitExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("Id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("Id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdIsNull() {
            addCriterion("FKCustomer_ID is null");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdIsNotNull() {
            addCriterion("FKCustomer_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdEqualTo(String value) {
            addCriterion("FKCustomer_ID =", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotEqualTo(String value) {
            addCriterion("FKCustomer_ID <>", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdGreaterThan(String value) {
            addCriterion("FKCustomer_ID >", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("FKCustomer_ID >=", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdLessThan(String value) {
            addCriterion("FKCustomer_ID <", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdLessThanOrEqualTo(String value) {
            addCriterion("FKCustomer_ID <=", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdLike(String value) {
            addCriterion("FKCustomer_ID like", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotLike(String value) {
            addCriterion("FKCustomer_ID not like", value, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdIn(List<String> values) {
            addCriterion("FKCustomer_ID in", values, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotIn(List<String> values) {
            addCriterion("FKCustomer_ID not in", values, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdBetween(String value1, String value2) {
            addCriterion("FKCustomer_ID between", value1, value2, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkcustomerIdNotBetween(String value1, String value2) {
            addCriterion("FKCustomer_ID not between", value1, value2, "fkcustomerId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdIsNull() {
            addCriterion("FKRoom_ID is null");
            return (Criteria) this;
        }

        public Criteria andFkroomIdIsNotNull() {
            addCriterion("FKRoom_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFkroomIdEqualTo(String value) {
            addCriterion("FKRoom_ID =", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotEqualTo(String value) {
            addCriterion("FKRoom_ID <>", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdGreaterThan(String value) {
            addCriterion("FKRoom_ID >", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdGreaterThanOrEqualTo(String value) {
            addCriterion("FKRoom_ID >=", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdLessThan(String value) {
            addCriterion("FKRoom_ID <", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdLessThanOrEqualTo(String value) {
            addCriterion("FKRoom_ID <=", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdLike(String value) {
            addCriterion("FKRoom_ID like", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotLike(String value) {
            addCriterion("FKRoom_ID not like", value, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdIn(List<String> values) {
            addCriterion("FKRoom_ID in", values, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotIn(List<String> values) {
            addCriterion("FKRoom_ID not in", values, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdBetween(String value1, String value2) {
            addCriterion("FKRoom_ID between", value1, value2, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkroomIdNotBetween(String value1, String value2) {
            addCriterion("FKRoom_ID not between", value1, value2, "fkroomId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdIsNull() {
            addCriterion("FKDScheme_ID is null");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdIsNotNull() {
            addCriterion("FKDScheme_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdEqualTo(String value) {
            addCriterion("FKDScheme_ID =", value, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdNotEqualTo(String value) {
            addCriterion("FKDScheme_ID <>", value, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdGreaterThan(String value) {
            addCriterion("FKDScheme_ID >", value, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdGreaterThanOrEqualTo(String value) {
            addCriterion("FKDScheme_ID >=", value, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdLessThan(String value) {
            addCriterion("FKDScheme_ID <", value, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdLessThanOrEqualTo(String value) {
            addCriterion("FKDScheme_ID <=", value, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdLike(String value) {
            addCriterion("FKDScheme_ID like", value, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdNotLike(String value) {
            addCriterion("FKDScheme_ID not like", value, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdIn(List<String> values) {
            addCriterion("FKDScheme_ID in", values, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdNotIn(List<String> values) {
            addCriterion("FKDScheme_ID not in", values, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdBetween(String value1, String value2) {
            addCriterion("FKDScheme_ID between", value1, value2, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andFkdschemeIdNotBetween(String value1, String value2) {
            addCriterion("FKDScheme_ID not between", value1, value2, "fkdschemeId");
            return (Criteria) this;
        }

        public Criteria andUnitNameIsNull() {
            addCriterion("Unit_Name is null");
            return (Criteria) this;
        }

        public Criteria andUnitNameIsNotNull() {
            addCriterion("Unit_Name is not null");
            return (Criteria) this;
        }

        public Criteria andUnitNameEqualTo(String value) {
            addCriterion("Unit_Name =", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameNotEqualTo(String value) {
            addCriterion("Unit_Name <>", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameGreaterThan(String value) {
            addCriterion("Unit_Name >", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameGreaterThanOrEqualTo(String value) {
            addCriterion("Unit_Name >=", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameLessThan(String value) {
            addCriterion("Unit_Name <", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameLessThanOrEqualTo(String value) {
            addCriterion("Unit_Name <=", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameLike(String value) {
            addCriterion("Unit_Name like", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameNotLike(String value) {
            addCriterion("Unit_Name not like", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameIn(List<String> values) {
            addCriterion("Unit_Name in", values, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameNotIn(List<String> values) {
            addCriterion("Unit_Name not in", values, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameBetween(String value1, String value2) {
            addCriterion("Unit_Name between", value1, value2, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameNotBetween(String value1, String value2) {
            addCriterion("Unit_Name not between", value1, value2, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitCaIsNull() {
            addCriterion("Unit_CA is null");
            return (Criteria) this;
        }

        public Criteria andUnitCaIsNotNull() {
            addCriterion("Unit_CA is not null");
            return (Criteria) this;
        }

        public Criteria andUnitCaEqualTo(String value) {
            addCriterion("Unit_CA =", value, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaNotEqualTo(String value) {
            addCriterion("Unit_CA <>", value, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaGreaterThan(String value) {
            addCriterion("Unit_CA >", value, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaGreaterThanOrEqualTo(String value) {
            addCriterion("Unit_CA >=", value, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaLessThan(String value) {
            addCriterion("Unit_CA <", value, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaLessThanOrEqualTo(String value) {
            addCriterion("Unit_CA <=", value, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaLike(String value) {
            addCriterion("Unit_CA like", value, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaNotLike(String value) {
            addCriterion("Unit_CA not like", value, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaIn(List<String> values) {
            addCriterion("Unit_CA in", values, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaNotIn(List<String> values) {
            addCriterion("Unit_CA not in", values, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaBetween(String value1, String value2) {
            addCriterion("Unit_CA between", value1, value2, "unitCa");
            return (Criteria) this;
        }

        public Criteria andUnitCaNotBetween(String value1, String value2) {
            addCriterion("Unit_CA not between", value1, value2, "unitCa");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeIsNull() {
            addCriterion("Work_aptitude is null");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeIsNotNull() {
            addCriterion("Work_aptitude is not null");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeEqualTo(String value) {
            addCriterion("Work_aptitude =", value, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeNotEqualTo(String value) {
            addCriterion("Work_aptitude <>", value, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeGreaterThan(String value) {
            addCriterion("Work_aptitude >", value, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeGreaterThanOrEqualTo(String value) {
            addCriterion("Work_aptitude >=", value, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeLessThan(String value) {
            addCriterion("Work_aptitude <", value, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeLessThanOrEqualTo(String value) {
            addCriterion("Work_aptitude <=", value, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeLike(String value) {
            addCriterion("Work_aptitude like", value, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeNotLike(String value) {
            addCriterion("Work_aptitude not like", value, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeIn(List<String> values) {
            addCriterion("Work_aptitude in", values, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeNotIn(List<String> values) {
            addCriterion("Work_aptitude not in", values, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeBetween(String value1, String value2) {
            addCriterion("Work_aptitude between", value1, value2, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andWorkAptitudeNotBetween(String value1, String value2) {
            addCriterion("Work_aptitude not between", value1, value2, "workAptitude");
            return (Criteria) this;
        }

        public Criteria andAuthorizeIsNull() {
            addCriterion("Authorize is null");
            return (Criteria) this;
        }

        public Criteria andAuthorizeIsNotNull() {
            addCriterion("Authorize is not null");
            return (Criteria) this;
        }

        public Criteria andAuthorizeEqualTo(String value) {
            addCriterion("Authorize =", value, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeNotEqualTo(String value) {
            addCriterion("Authorize <>", value, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeGreaterThan(String value) {
            addCriterion("Authorize >", value, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeGreaterThanOrEqualTo(String value) {
            addCriterion("Authorize >=", value, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeLessThan(String value) {
            addCriterion("Authorize <", value, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeLessThanOrEqualTo(String value) {
            addCriterion("Authorize <=", value, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeLike(String value) {
            addCriterion("Authorize like", value, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeNotLike(String value) {
            addCriterion("Authorize not like", value, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeIn(List<String> values) {
            addCriterion("Authorize in", values, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeNotIn(List<String> values) {
            addCriterion("Authorize not in", values, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeBetween(String value1, String value2) {
            addCriterion("Authorize between", value1, value2, "authorize");
            return (Criteria) this;
        }

        public Criteria andAuthorizeNotBetween(String value1, String value2) {
            addCriterion("Authorize not between", value1, value2, "authorize");
            return (Criteria) this;
        }

        public Criteria andStaffListIsNull() {
            addCriterion("Staff_list is null");
            return (Criteria) this;
        }

        public Criteria andStaffListIsNotNull() {
            addCriterion("Staff_list is not null");
            return (Criteria) this;
        }

        public Criteria andStaffListEqualTo(String value) {
            addCriterion("Staff_list =", value, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListNotEqualTo(String value) {
            addCriterion("Staff_list <>", value, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListGreaterThan(String value) {
            addCriterion("Staff_list >", value, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListGreaterThanOrEqualTo(String value) {
            addCriterion("Staff_list >=", value, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListLessThan(String value) {
            addCriterion("Staff_list <", value, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListLessThanOrEqualTo(String value) {
            addCriterion("Staff_list <=", value, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListLike(String value) {
            addCriterion("Staff_list like", value, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListNotLike(String value) {
            addCriterion("Staff_list not like", value, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListIn(List<String> values) {
            addCriterion("Staff_list in", values, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListNotIn(List<String> values) {
            addCriterion("Staff_list not in", values, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListBetween(String value1, String value2) {
            addCriterion("Staff_list between", value1, value2, "staffList");
            return (Criteria) this;
        }

        public Criteria andStaffListNotBetween(String value1, String value2) {
            addCriterion("Staff_list not between", value1, value2, "staffList");
            return (Criteria) this;
        }

        public Criteria andInsuranceIsNull() {
            addCriterion("Insurance is null");
            return (Criteria) this;
        }

        public Criteria andInsuranceIsNotNull() {
            addCriterion("Insurance is not null");
            return (Criteria) this;
        }

        public Criteria andInsuranceEqualTo(String value) {
            addCriterion("Insurance =", value, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceNotEqualTo(String value) {
            addCriterion("Insurance <>", value, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceGreaterThan(String value) {
            addCriterion("Insurance >", value, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceGreaterThanOrEqualTo(String value) {
            addCriterion("Insurance >=", value, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceLessThan(String value) {
            addCriterion("Insurance <", value, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceLessThanOrEqualTo(String value) {
            addCriterion("Insurance <=", value, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceLike(String value) {
            addCriterion("Insurance like", value, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceNotLike(String value) {
            addCriterion("Insurance not like", value, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceIn(List<String> values) {
            addCriterion("Insurance in", values, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceNotIn(List<String> values) {
            addCriterion("Insurance not in", values, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceBetween(String value1, String value2) {
            addCriterion("Insurance between", value1, value2, "insurance");
            return (Criteria) this;
        }

        public Criteria andInsuranceNotBetween(String value1, String value2) {
            addCriterion("Insurance not between", value1, value2, "insurance");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("Create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("Create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("Create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("Create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("Create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("Create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("Create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("Create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("Create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("Create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("Create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeIsNull() {
            addCriterion("LastModify_Time is null");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeIsNotNull() {
            addCriterion("LastModify_Time is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeEqualTo(Date value) {
            addCriterion("LastModify_Time =", value, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeNotEqualTo(Date value) {
            addCriterion("LastModify_Time <>", value, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeGreaterThan(Date value) {
            addCriterion("LastModify_Time >", value, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("LastModify_Time >=", value, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeLessThan(Date value) {
            addCriterion("LastModify_Time <", value, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("LastModify_Time <=", value, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeIn(List<Date> values) {
            addCriterion("LastModify_Time in", values, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeNotIn(List<Date> values) {
            addCriterion("LastModify_Time not in", values, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeBetween(Date value1, Date value2) {
            addCriterion("LastModify_Time between", value1, value2, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andLastmodifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("LastModify_Time not between", value1, value2, "lastmodifyTime");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNull() {
            addCriterion("Add_User is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNotNull() {
            addCriterion("Add_User is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserEqualTo(String value) {
            addCriterion("Add_User =", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotEqualTo(String value) {
            addCriterion("Add_User <>", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThan(String value) {
            addCriterion("Add_User >", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThanOrEqualTo(String value) {
            addCriterion("Add_User >=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThan(String value) {
            addCriterion("Add_User <", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThanOrEqualTo(String value) {
            addCriterion("Add_User <=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLike(String value) {
            addCriterion("Add_User like", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotLike(String value) {
            addCriterion("Add_User not like", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserIn(List<String> values) {
            addCriterion("Add_User in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotIn(List<String> values) {
            addCriterion("Add_User not in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserBetween(String value1, String value2) {
            addCriterion("Add_User between", value1, value2, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotBetween(String value1, String value2) {
            addCriterion("Add_User not between", value1, value2, "addUser");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}